
    /*$.post(url,data,function (resp) {

        console.log(resp.data)
        //  resp.data.shift();


});


function getQueryString(name) {
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
    var r = window.location.search.substr(1).match(reg);
    if (r != null) return unescape(r[2]);
    return null;
}

/*for (let i = 0; i < resp.data2.length; i++) {
                li+="<li class=\"open\">\n" +
                    "                        <a href=\"javascript:;\" >\n" +
                    "                            <i class=\"iconfont left-nav-li\" lay-tips='"+resp.data2[i].modUrl+"'> </i>\n" +
                    "                            <cite>"+resp.data2[i].modName+"</cite>\n" +
                    "                            <i class=\"iconfont nav_right\"></i></a>\n" +
                    "                        <ul class=\"sub-menu\" style=\"display: block;\">\n";

                for(let j = 0;j<resp.data2[i].children.length;j++){
                    li+="                        <li>\n" +
                        "                                <a onclick=\"xadmin.add_tab('"+resp.data2[i].children[j].modName+"','"+resp.data2[i].children[j].modUrl+"')\" class=\"active\">\n" +
                        "                                    <i class=\"iconfont\"></i>\n" +
                        "                                    <cite>"+resp.data2[i].children[j].modName+"</cite></a>\n" +
                        "                            </li>\n"
                }
            }
            li+="</ul>"
            li+="</li>";*/